MProgressDialog – A progress bar with an attached titled panel.


Creation: MProgressDialog_New(caption$, text$, animate, x, y, pixelwidth)


caption$ - The title caption for the progress bar dialog.

text$ - The text shown centered on the progress bar.

animate – Animation mode. 0=none; 1=fast; 2=fancy

x – Pixel X coordinate for the top left corner of the progress bar dialog.

y – Pixel Y coordinate for the top left corner of the progress bar dialog.

pixelwidth – The width of the progress bar dialog in pixels.


Functions:

MProgressDialog_Delete(index)

Deletes the progress bar.


MProgressDialog_Draw(index)

Draws the progress bar to screen.


MprogressDialog_SetCaption(index, caption$)

Sets caption of the progress bar.


MProgressDialog_SetColorPrimary(index, color)

Sets the main color of the progress bar.


MProgressDialog_SetColorSecondary(index, color)

Sets the blink color of the progress bar.


MProgressDialog_SetColorText(index, color)

Sets text color of the progress bar.


MProgressDialog_SetRaw(index, value#)

Sets progress value. 0.0-1.0; Skips any animated effects.


MProgressDialog_SetText(index, text$)

Sets text of the progress bar.


MProgressDialog_SetValue(index, value#)

Sets progress value. 0.0-1.0; Animation mode determines how fast the bar changes.